﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.EquipmentManagement.EquipmentAlarmItemVMs
{
    public partial class EquipmentAlarmItemBatchVM : BaseBatchVM<EquipmentAlarmItem, EquipmentAlarmItem_BatchEdit>
    {
        public EquipmentAlarmItemBatchVM()
        {
            ListVM = new EquipmentAlarmItemListVM();
            LinkedVM = new EquipmentAlarmItem_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class EquipmentAlarmItem_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._EquipmentAlarmItem._EquipName")]
        public string EquipName { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._EquipTag")]
        public Guid? EquipTagId { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._EquipTagName")]
        public string EquipTagName { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._EquipTagAddress")]
        public string EquipTagAddress { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._Content")]
        public string Content { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._Level")]
        public AlarmLevelEnum? Level { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._Classify")]
        public AlarmTypeEnum? Classify { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._Bits")]
        public int? Bits { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._Active")]
        public bool? Active { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._Aux_1")]
        public string Aux_1 { get; set; }
        [Display(Name = "_Model._EquipmentAlarmItem._Aux_2")]
        public string Aux_2 { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}